<?xml version="1.0" encoding="UTF-8"?>
<jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:ui="http://www.sun.com/web/ui">
    <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view>
        <ui:page binding="#{consultaReporteSolicitud.page1}" id="page1">
            <ui:html binding="#{consultaReporteSolicitud.html1}" id="html1">
                <ui:head binding="#{consultaReporteSolicitud.head1}" id="head1">
                    <ui:link binding="#{consultaReporteSolicitud.link1}" id="link1" url="/resources/stylesheet.css"/>
                </ui:head>
                <ui:body binding="#{consultaReporteSolicitud.body1}" id="body1" style="-rave-layout: grid">
                    <ui:form binding="#{consultaReporteSolicitud.form1}" id="form1" virtualFormsConfig="VFHyperLink | |">
                        <h:panelGrid binding="#{consultaReporteSolicitud.gridPanelGrande}" id="gridPanelGrande"
                            style="left: 72px; top: 120px; position: absolute" width="600">
                            <ui:staticText binding="#{consultaReporteSolicitud.titulo1}" id="titulo1"
                                style="color: rgb(108, 154, 154); font-family: 'Times New Roman','Times',serif; font-size: 18px" text="Reporte de solicitud"/>
                            <h:panelGrid binding="#{consultaReporteSolicitud.gridPanelNumSol}" columns="2" id="gridPanelNumSol">
                                <ui:label binding="#{consultaReporteSolicitud.numSolLabel}" id="numSolLabel" text="Numero de solicitud"/>
                                <ui:textField binding="#{consultaReporteSolicitud.numSolTextField}" id="numSolTextField"/>
                                <ui:label binding="#{consultaReporteSolicitud.nitLabel}" id="nitLabel" text="NIT"/>
                                <ui:textField binding="#{consultaReporteSolicitud.nitTextField}" id="nitTextField"/>
                                <ui:label binding="#{consultaReporteSolicitud.codProductoLabel}" id="codProductoLabel" text="Producto"/>
                                <ui:dropDown binding="#{consultaReporteSolicitud.productoDropDown}" id="productoDropDown"
                                    items="#{consultaReporteSolicitud.sct0004DataProvider.options['SCT0004.CDGOPRDCTO,SCT0004.DSCRPCION']}" style="height: 20px"/>
                                <ui:label binding="#{consultaReporteSolicitud.codAgenciaLabel}" for="agenciaDropDown" id="codAgenciaLabel" text="Agencia"/>
                                <ui:dropDown binding="#{consultaReporteSolicitud.agenciaDropDown}"
                                    converter="#{consultaReporteSolicitud.agenciaDropDownConverter}" id="agenciaDropDown"
                                    items="#{consultaReporteSolicitud.sct0045DataProvider.options['SCT0045.CDGOAGNCIA,SCT0045.NMBREAGNCIA']}" style="height: 20px"/>
                                <ui:panelGroup binding="#{consultaReporteSolicitud.groupPanelBotones}" id="groupPanelBotones">
                                    <ui:button action="#{consultaReporteSolicitud.consultarBoton_action}" binding="#{consultaReporteSolicitud.consultarBoton}"
                                        id="consultarBoton" mini="true" primary="true" text="Buscar"/>
                                    <ui:button action="#{consultaReporteSolicitud.botonCerrar_action}" binding="#{consultaReporteSolicitud.botonCerrar}"
                                        id="botonCerrar" mini="true" primary="true" text="Cerrar"/>
                                </ui:panelGroup>
                            </h:panelGrid>
                            <ui:alert binding="#{consultaReporteSolicitud.alert1}" id="alert1"/>
                            <ui:table augmentTitle="false" binding="#{consultaReporteSolicitud.table1}" id="table1" lite="true" title="Solicitudes" width="480">
                                <script><![CDATA[
/* ----- Functions for Table Preferences Panel ----- */
/*
 * Toggle the table preferences panel open or closed
 */
function togglePreferencesPanel() {
  var table = document.getElementById("form1:table1");
  table.toggleTblePreferencesPanel();
}
/* ----- Functions for Filter Panel ----- */
/*
 * Return true if the filter menu has actually changed,
 * so the corresponding event should be allowed to continue.
 */
function filterMenuChanged() {
  var table = document.getElementById("form1:table1");
  return table.filterMenuChanged();
}
/*
 * Toggle the custom filter panel (if any) open or closed.
 */
function toggleFilterPanel() {
  var table = document.getElementById("form1:table1");
  return table.toggleTableFilterPanel();
}
/* ----- Functions for Table Actions ----- */
/*
 * Initialize all rows of the table when the state
 * of selected rows changes.
 */
function initAllRows() {
  var table = document.getElementById("form1:table1");
  table.initAllRows();
}
/*
 * Set the selected state for the given row groups
 * displayed in the table.  This functionality requires
 * the 'selectId' of the tableColumn to be set.
 *
 * @param rowGroupId HTML element id of the tableRowGroup component
 * @param selected Flag indicating whether components should be selected
 */
function selectGroupRows(rowGroupId, selected) {
  var table = document.getElementById("form1:table1");
  table.selectGroupRows(rowGroupId, selected);
}
/*
 * Disable all table actions if no rows have been selected.
 */
function disableActions() {
  // Determine whether any rows are currently selected
  var table = document.getElementById("form1:table1");
  var disabled = (table.getAllSelectedRowsCount() > 0) ? false : true;
  // Set disabled state for top actions
  document.getElementById("form1:table1:tableActionsTop:deleteTop").setDisabled(disabled);
  // Set disabled state for bottom actions
  document.getElementById("form1:table1:tableActionsBottom:deleteBottom").setDisabled(disabled);
}]]></script>
                                <ui:tableRowGroup binding="#{consultaReporteSolicitud.tableRowGroup1}" id="tableRowGroup1" rows="10"
                                    sourceData="#{consultaReporteSolicitud.sct0022DataProvider}" sourceVar="currentRow">
                                    <ui:tableColumn binding="#{consultaReporteSolicitud.tableColumn1}" headerText="Solicitud" id="tableColumn1" sort="SCT0022.NMROSLCTUD">
                                        <ui:hyperlink action="#{consultaReporteSolicitud.hyperlink1_action}" binding="#{consultaReporteSolicitud.hyperlink1}"
                                            id="hyperlink1" style="font-size: 10px" text="#{currentRow.value['SCT0022.NMROSLCTUD']}"/>
                                    </ui:tableColumn>
                                    <ui:tableColumn binding="#{consultaReporteSolicitud.tableColumn2}" headerText="Producto" id="tableColumn2" sort="SCT0004.DSCRPCION">
                                        <ui:staticText binding="#{consultaReporteSolicitud.staticText2}" id="staticText2" style="font-size: 10px" text="#{currentRow.value['SCT0004.DSCRPCION']}"/>
                                    </ui:tableColumn>
                                    <ui:tableColumn binding="#{consultaReporteSolicitud.tableColumn3}" headerText="Sublinea" id="tableColumn3" sort="SCT0019.DSCRPCIONSBLNEA">
                                        <ui:staticText binding="#{consultaReporteSolicitud.staticText3}" id="staticText3" style="font-size: 10px" text="#{currentRow.value['SCT0019.DSCRPCIONSBLNEA']}"/>
                                    </ui:tableColumn>
                                    <ui:tableColumn binding="#{consultaReporteSolicitud.tableColumn4}" headerText="Tipo de solicitud" id="tableColumn4" sort="SCT0021.DSCRPCIONTPOSLCTUD">
                                        <ui:staticText binding="#{consultaReporteSolicitud.staticText4}" id="staticText4" style="font-size: 10px" text="#{currentRow.value['SCT0021.DSCRPCIONTPOSLCTUD']}"/>
                                    </ui:tableColumn>
                                </ui:tableRowGroup>
                            </ui:table>
                        </h:panelGrid>
                        <div>
                            <jsp:include page="encab1.jspf"/>
                        </div>
                    </ui:form>
                </ui:body>
            </ui:html>
        </ui:page>
    </f:view>
</jsp:root>
